package binarytree;

public class Test {
    public static void main(String[] args) {
        TestBinaryTree testBinaryTree = new TestBinaryTree();


        TestBinaryTree.TreeNode root = testBinaryTree.creatTree();
        testBinaryTree.preOrder(root);
        System.out.println();

        testBinaryTree.inOrder(root);
        System.out.println();

        testBinaryTree.postOrder(root);

        System.out.println(testBinaryTree.size(root));

        testBinaryTree.size2(root);
        System.out.println(TestBinaryTree.nodeSize);

    }
}